<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">
    
    
    <h:head>
    
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<meta http-equiv="Pragma" content="no-cache" />
  	    <meta http-equiv="Cache-Control" content="no-cache" />
  	  
    	
    	<base href="#{login.loginLogic.context}" />
    	<title>
			<ui:insert name="title">
				SISTEMA DE GESTIÓN DE CALIDAD (SGC)
			</ui:insert>   		
    	</title>
    	
    	<link href="/SCI/faces/javax.faces.resource/css/estilos.css" rel="stylesheet" type="text/css" />
		<link href="/SCI/faces/javax.faces.resource/css/calendar.css" rel="stylesheet" type="text/css" />
		<link href="/SCI/faces/javax.faces.resource/css/overlay-apple.css" rel="stylesheet" type="text/css" /> 
		<link href="/SCI/faces/javax.faces.resource/css/ui.css" rel="stylesheet" type="text/css"/> 
		
		<h:outputScript name="js/menu.js" />
		<h:outputScript name="js/afs_javascript.js" />
		<h:outputScript name="js/jquery.min.js" />
		<h:outputScript name="js/jquery.tools.min.js" />
		<h:outputScript name="js/jquery.blockUI.js" />
		<h:outputScript name="js/jquery-latest.pack.js" />
		<h:outputScript name="js/calendar.js" />
		<h:outputScript name="js/calendar-es.js" />
		<h:outputScript name="js/calendar-setup.js" />
		<h:outputScript name="js/jquery.ui.core.js" />
		<h:outputScript name="js/jquery-ui.js" />
		<h:outputScript name="js/jtip.js" />
		<h:outputScript name="js/calendar.js" />
		<h:outputScript name="js/calendar-es.js" />
		<h:outputScript name="js/calendar-setup.js" />
		
		
		
		
			  
			
    </h:head>  
	<body onload="aplicarRoles();">
		<table width="100%" cellpadding="0" cellspacing="0" border="0" >
			<tr>
			  	<td>	
					<ui:insert name="header">
						<ui:include src="/Header_Footer_Menu/header.xhtml"/>
					</ui:insert>
			  	</td>
		  	</tr>
		</table>				
		<table width="100%" cellspacing="0" id="body" border="0">
  			<tr valign="top">
    			<td width="20%" height="490"> <!-- 400 -->
					<ui:include src="/Header_Footer_Menu/menu.xhtml"/>      
    			</td>
    			<td width="80%">
    				<table width="100%" border="0">
						<tr>
			  				<td height="30" valign="middle">
			  					<ui:include src="/Header_Footer_Menu/title.xhtml"/>
			  				</td>
						</tr>
						<tr align="left">
							<td valign="top" height="150%"> <!-- 370 -->
								<h:messages id="userMessages"  errorClass="error" infoClass="success" globalOnly="true"/> 
								<h:messages for="fileEntryComp" style="display:none;"/> 
								
								<!-- FIN -->
								
								<ui:insert name="body">
									Body
								</ui:insert>
							</td>
						</tr>
    				</table>    
    			</td>
  			</tr>
		</table>
		<table width="100%" cellpadding="0" cellspacing="0">
		  <tr>
		  	<td>
				<ui:insert name="header">
					<ui:include src="/Header_Footer_Menu/footer.xhtml"/>
				</ui:insert>
		  	</td>
		  </tr>
		</table>
	</body>
</html>